//
//  LoginChooseSexViewController.m
//  Tongcheng
//
//  Created by 邢广范 on 2017/4/3.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//app进入现实的第一个选择男生女生界面

#import "LoginChooseSexViewController.h"
#import "LoginViewController.h"
#import "RegistViewController.h"

@interface LoginChooseSexViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *backgroundImg;
@property (weak, nonatomic) IBOutlet UIButton *registBtn;
- (IBAction)registbtnClick:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *loginBtn;
- (IBAction)loginBtnClick:(id)sender;


@end

@implementation LoginChooseSexViewController

- (void)setupView
{
    self.registBtn.backgroundColor = RGBA(0x9B3450, 0.5);
    self.loginBtn.backgroundColor = RGBA(0x999495, 0.5);
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupView];
    // Do any additional setup after loading the view from its nib.
}

- (IBAction)registbtnClick:(id)sender {
    RegistViewController *registVc = [[RegistViewController alloc] init];
    [self.navigationController pushViewController:registVc animated:YES];
}

- (IBAction)loginBtnClick:(id)sender {
    LoginViewController *loginVc = [[LoginViewController alloc] init];
    [self.navigationController pushViewController:loginVc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBar.hidden = YES;
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    self.navigationController.navigationBar.hidden = NO;
}



@end
